<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" 
%><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" 
%><%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" 
%><%@ taglib tagdir="/WEB-INF/tags" prefix="cohesion"
%><%@ page contentType="text/html;charset=ISO-8859-1"
%><html:html>
    <head>
        <title><bean:message key="VCrearOportunidad.title"/></title>
        <html:base/>
        <link rel="stylesheet" type="text/css" href="../css/style.css"></link>
        <script type="text/javascript" src="../_tooltips/js/prototype.js"></script>
        <script type="text/javascript" src="../_tooltips/js/HelpBalloon.js"></script>
        <script type="text/javascript" src="../scripts/datetimepicker.js"></script>
        <style type="text/css">
        div#box287336 {width: 400px; margin: 40px auto; }
        form#287336 {float: left; margin: 0; padding: 0; display: inline; width: 400px; }
        form#287336 p {float: left; margin: 0; padding: 0; display: inline; }
        form#287336 label {float: left; margin: 0; padding: 0; display: inline; overflow: hidden; }
        form#287336 input {float: left; margin: 0; padding: 0; display: inline; }
          form#287336 p#519046_C {clear: both; width: 400px; }
          form#287336 p#519046_C label {clear: both; width: 400px; }
          form#287336 p#519046_C input {clear: both; width: 396px; }
          form#287336 p#519050_C {clear: both; width: 400px; }
          form#287336 p#519050_C label {clear: both; width: 400px; }
          form#287336 p#519050_C input {clear: both; width: 396px; }
          form#287336 p#519053_C {clear: both; width: 400px; }
          form#287336 p#519053_C label {clear: both; width: 400px; }
          form#287336 p#519053_C input {clear: both; width: 396px; }
          form#287336 p#519056_C {clear: both; width: 400px; }
          form#287336 p#519056_C label {clear: both; width: 400px; }
          form#287336 p#519056_C input {clear: both; width: 396px; }
          form#287336 p#519059_C {clear: both; width: 400px; }
          form#287336 p#519059_C label {clear: both; width: 400px; }
          form#287336 p#519059_C input {clear: both; width: 396px; }
          form#287336 p#519062_C {clear: both; width: 400px; }
          form#287336 p#519062_C label {clear: both; width: 400px; }
          form#287336 p#519062_C input {clear: both; width: 396px; }
          form#287336 p#519065_C {clear: both; width: 400px; }
          form#287336 p#519065_C label {clear: both; width: 400px; }
          form#287336 p#519065_C input {clear: both; width: 396px; }
          form#287336 p#519069_C {clear: both; width: 400px; }
          form#287336 p#519069_C label {clear: both; width: 400px; }
          form#287336 p#519069_C input {clear: both; width: 396px; }
          form#287336 p#519072_C {clear: both; width: 400px; }
          form#287336 p#519072_C label {clear: both; width: 400px; }
          form#287336 p#519072_C input {clear: both; width: 396px; }
          form#287336 p#519077_C {clear: both; width: 400px; }
          form#287336 p#519077_C label {clear: both; width: 400px; }
          form#287336 p#519077_C input {clear: both; width: 396px; }
          form#287336 p#519080_C {clear: both; width: 400px; }
          form#287336 p#519080_C label {clear: both; width: 400px; }
          form#287336 p#519080_C input {clear: both; width: 396px; }
          form#287336 p#519083_C {clear: both; width: 400px; }
          form#287336 p#519083_C label {clear: both; width: 400px; }
          form#287336 p#519083_C input {clear: both; width: 396px; }
          form#287336 p#519085_C {clear: both; width: 400px; }
          form#287336 p#519085_C label {clear: both; width: 400px; }
          form#287336 p#519085_C input {clear: both; width: 396px; }
          form#287336 p#519089_C {clear: both; width: 400px; }
          form#287336 p#519089_C label {clear: both; width: 400px; }
          form#287336 p#519089_C input {clear: both; width: 396px; }
          form#287336 p#519091_C {clear: both; width: 400px; }
          form#287336 p#519091_C label {clear: both; width: 400px; }
          form#287336 p#519091_C input {clear: both; width: 396px; }

        </style>

    </head>
    <body>
        <div id="header">
            <div id="title"><bean:message key="VCrearOportunidad.title"/></div>
            <div id="menu">
                <ul id="nav">
                    <li><cohesion:actor actors="5"><html:link action="/APreOportunidades.do"><bean:message key="VCrearOportunidad.label1"/><%-- Cancelar --%></html:link></cohesion:actor></li>

                </ul>
            </div>
        </div>
        <div id="body_wrapper">
            <div id="body">
                <div id="split">
                    <div class="top"></div>
                    <div id="left">
                        <div class="content">
                            ${empty msg ? "" : msg}
                <div class="box287336"><html:form styleId="F287336"
                  action="/ACrearOportunidad.do" method="post">
                  <html:hidden property="idOportunidad"/>
                  <p id="519050_C"><label for="519050"><bean:message key="FCrearOportunidad.label1"/><%-- nombre --%></label><html:text styleId="519050" property="nombre" size="30"/></p>
                  <p id="519053_C"><label for="519053"><bean:message key="FCrearOportunidad.label2"/><%-- tipo --%></label><html:text styleId="519053" property="tipo" size="30"/></p>
                  <p id="519056_C"><label for="519056"><bean:message key="FCrearOportunidad.label3"/><%-- origenCampanya --%></label><html:text styleId="519056" property="origenCampanya" size="30"/></p>
                  <p id="519059_C"><label for="519059"><bean:message key="FCrearOportunidad.label4"/><%-- fechaCierre --%></label><html:text styleId="519059" property="fechaCierre" size="30" readonly="true" onclick="NewCal('519059','ddmmyyyy');"/></p>
                  <p id="519062_C"><label for="519062"><bean:message key="FCrearOportunidad.label5"/><%-- etapa --%></label><html:select styleId="519062" property="etapa"><html:optionsCollection property="listCategoria"/></html:select></p>
                  <p id="519069_C"><label for="519069"><bean:message key="FCrearOportunidad.label7"/><%-- probabilidad --%></label><html:text styleId="519069" property="probabilidad" size="30"/></p>
                  <p id="519072_C"><label for="519072"><bean:message key="FCrearOportunidad.label8"/><%-- importe --%></label><html:text styleId="519072" property="importe" size="30"/></p>
                  <p id="519077_C"><label for="519077"><bean:message key="FCrearOportunidad.label9"/><%-- origenCandidato --%></label><html:text styleId="519077" property="origenCandidato" size="30"/></p>
                  <p id="519080_C"><label for="519080"><bean:message key="FCrearOportunidad.label10"/><%-- descripcion --%></label><html:textarea styleId="519080" property="descripcion" cols="60" rows="10"></html:textarea></p>
                  <p id="519083_C"><label for="519083"><bean:message key="FCrearOportunidad.label11"/><%-- cuenta --%></label><html:select styleId="519083" property="cuenta"><html:optionsCollection property="listCuenta"/></html:select></p>
                  <p id="519089_C"><label for="519089"><bean:message key="FCrearOportunidad.label13"/><%-- respOportunidad --%></label><html:select styleId="519089" property="respOportunidad"><html:optionsCollection property="listPersonal"/></html:select></p>

                  <html:submit styleClass="button"><bean:message key="VCrearOportunidad.label0"/><%-- Crear Oportunidad --%></html:submit>
                </html:form></div>

                        </div>
                    </div>
                    <div id="right"><ul id="nav"><li><script type="text/javascript">var hb = new HelpBalloon({ dataURL: '//tooltip.do?V=VCrearOportunidad'});</script></li></ul></div>
                    <div class="clearer"></div>
                    <div class="bottom"></div>
                </div>
                <div class="clearer"></div>
            </div>
            <div class="clearer"></div>
        </div>
        <div id="end_body"></div>
        <div id="footer"> <bean:message key="bottom.label"/> </div>
        
    </body>
</html:html>